#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
int main()
{
	/*int num;
	scanf("%d", &num);
	int arr[100001] = { 0 };
	int* p = (int*)malloc(num * sizeof(int));
	if (p != NULL)
	{
		for (int i = 0; i < num; i++)
		{
			*(p + i) = i;
			printf("%d", *(p + i));
		}
	}
	free(p);
	p = NULL;*/
	/*int* p = (int*)calloc(10, sizeof(int));
	if (p != NULL)
	{
		for (int i = 0; i < 10; i++)
		{
			printf("%d" ,*(p + i));
		}
	}
	free(p);
	p = NULL;*/

	return 0;
}